﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WechatModule.Model
{
    /// <summary>
    /// 按钮类
    /// </summary>
    public class Button
    {
        /// <summary>
        /// click\view
        /// </summary>
        public string type;

        public string name;
        /// <summary>
        /// 菜单KEY值，用于消息接口推送，不超过128字节,click类型所必须
        /// </summary>
        public string key;

        public List<Button> sub_button;
        /// <summary>
        /// view类型所必须
        /// </summary>
        public string url;
    }
}